body.close section.content .markdown-section {
  padding: 0 60px;
}

a:hover {
  text-decoration: none;
}

button.sidebar-toggle {
  width: 239px;
}

section.cover.show {
  /* background-image: url(./_media/bg.jpg) !important; */
  /* background-size: cover !important; */
}

section.cover .cover-main > p:last-child {
  position: fixed;
  left: 0;
  bottom: 30px;
  right: 0;
}

section.cover .cover-main > p:last-child a:last-child {
  padding: 0;
  width: 1.8em;
  height: 3em;
  border: 0.2em solid #fff;
  background-color: transparent;
}

section.cover .cover-main > p:last-child a:last-child:hover {
  background-color: #fff;
}

section.cover .cover-main > ul > li > code {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  font-weight: 600;
}

@keyframes line-repetition {
  from {
    top: 0;
    opacity: 1;
  }
  to {
    top: 1em;
    opacity: 0;
  }
}

@-webkit-keyframes line-repetition /*Safari and Chrome*/ {
  from {
    top: 0;
    opacity: 1;
  }
  to {
    top: 1em;
    opacity: 0;
  }
}

section.cover .cover-main > p:last-child a:last-child > span {
  color: #3c78eb;
  position: relative;
  width: 0.5em;
  height: 0.5em;
  border-right: 0.1em solid;
  border-bottom: 0.1em solid;
  display: inline-block;
  transform: rotate(45deg);
  -webkit-animation-name: line-repetition;
  animation-name: line-repetition;
  animation-duration: 2s;
  -webkit-animation-duration: 2s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.37, 0.16, 0.12, 1);
  -webkit-animation-timing-function: cubic-bezier(0.37, 0.16, 0.12, 1);
}

aside.sidebar {
  width: 240px;
  box-shadow: 0 0 10px 0 rgba(131, 142, 162, 0.22);
}

aside.sidebar > h1 {
  height: 102px;
  visibility: hidden;
}

aside.sidebar .logo {
  width: 80px;
  margin: 40px auto 10px auto;
  text-align: center;
}

aside.sidebar .logo > p {
  margin: 0;
  color: #0f49b3;
  font-size: 18px;
}

aside.sidebar .search {
  margin: 0 2.2em 1em !important;
  padding: 0 !important;
}

aside.sidebar .search input {
  font-size: 12px;
}

aside.sidebar .sidebar-nav {
  margin-top: 38px;
}

aside.sidebar ul {
  margin: 0;
}
aside.sidebar ul li {
  margin: 0;
  position: relative;
}

aside.sidebar ul li ul {
  margin: 8px 0;
}

aside.sidebar ul li p {
  padding-left: 87px;
  font-size: 18px;
  font-weight: normal;
  color: #35495e;
}

aside.sidebar ul li a {
  height: 42px;
  line-height: 36px;
  font-size: 14px;
  color: #7285a1;
  padding: 3px 0 3px 87px;
}

aside.sidebar ul:first-child > li:first-child > p {
  background: url(./_media/sidebar1.svg) no-repeat 48px;
}

aside.sidebar ul:first-child > li:nth-child(2) > p {
  background: url(./_media/sidebar2.svg) no-repeat 48px;
}

aside.sidebar ul:first-child > li:nth-child(3) > p {
  background: url(./_media/sidebar3.svg) no-repeat 48px;
}
aside.sidebar ul:first-child > li:nth-child(4) > p {
  background: url(./_media/sidebar3.svg) no-repeat 48px;
}

aside.sidebar ul li.active > a {
  border: 0;
  background-color: rgba(61, 120, 232, 0.05);
}

aside.sidebar ul li.active > a:before {
  content: '';
  position: absolute;
  margin: 0;
  width: 10px;
  height: 10px;
  top: 15px;
  left: 56px;
  border-radius: 50%;
  background-color: #fed24a;
  box-shadow: 0 0 0 3px rgba(254, 210, 74, 0.4);
}

aside.sidebar ul li.active > a:after {
  content: '';
  position: absolute;
  left: 0;
  width: 4px;
  height: 36px;
  border-radius: 4px;
  background-color: #3d78e8;
}

section.content {
  padding-top: 40px;
}

section.content .vuep {
  height: auto;
  border: 1px solid #ebebeb;
  border-radius: 4px;
}

section.content .vuep:hover {
  box-shadow: 0 0 10px 0 rgba(232, 237, 250, 0.6),
    0 2px 4px 0 rgba(232, 237, 250, 0.6);
}

section.content .vuep-editor,
section.content .vuep-preview {
  position: relative;
  width: 50%;
  height: 432px;
}

section.content .vuep-editor {
  margin-right: 0;
  border-right: 1px dashed #ebebeb;
}

section.content .vuep-preview {
  border: 0;
  padding: 15px 25px;
}

section.content .markdown-section {
  max-width: 1200px;
  min-width: 960px;
  padding: 0 60px 30px 0;
}

.markdown-section h1 {
  font-size: 1.5rem;
}

.markdown-section h2 {
  font-size: 1.25rem;
  margin: 2rem 0 1.5rem;
}

.markdown-section h3,
.markdown-section h4 {
  font-size: 1rem;
  margin: 1.5rem 0 0.75rem;
}

.markdown-section table {
  border-radius: 4px;
}

.markdown-section p.tip,
.markdown-section tr:nth-child(2n) {
  background-color: #fafcff;
}

.CodeMirror {
  font-family: Menlo, Monaco, Consolas, Courier, monospace;
  font-size: 12px;
}

.markdown-section iframe {
  margin: 0;
  border: 1px solid #ebebeb;
  border-radius: 4px;
}

.markdown-section iframe:hover {
  border: 1px solid #ebebeb;
  box-shadow: 0 0 10px 0 rgba(232, 237, 250, 0.6),
    0 2px 4px 0 rgba(232, 237, 250, 0.6);
}
